package cn.tedu.egweibo06.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class WeiboDetailVO {
    @ApiModelProperty(value = "微博内容",required = true)
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "微博创建时间",required = true)
    private Date created;
    @ApiModelProperty(value = "微博id",required = true)
    private Long id;
    @ApiModelProperty(value = "昵称",required = true)
    private String nickname;
}
